package com.cjw.service.database;

import org.springframework.web.multipart.MultipartFile;

/**
 * @author : cjw
 * @date: : 2022/2/1 22:12
 * @description : some
 */
public interface MinioService {
    /**
     * 上传文件到minio
     * @param file
     * @param type
     * @return
     */
    String MinIOUpload(MultipartFile file, Integer type);

    Long getIdByUrl(String url);
}
